# 测试环境用dockerFile

# base-euerka

# 指定镜像源
FROM openjdk:8-jdk-alpine

# 维护者
MAINTAINER zmlmagic <zmlmagic@163.com>

# 信息
LABEL Name="Base Eureka"
LABEL Description="This image is the spring-boot images."
LABEL Version="0.0.1-SNAPSHOT"

# cd到target目录
# WORKDIR /target

# 复制target目录
ADD target /home/target

# RUN ["ls", "/home/target"]
# RUN ["pwd"]
# 注意程序包名
# RUN ["ls", "-ltrh", "/home/target/gb-base-eureka-0.0.1-SNAPSHOT.jar"]

# 注意包名
ENTRYPOINT [ "java", "-jar", "-Xms256m", "-Xmx256m", "/home/target/gb-base-eureka-0.0.1-SNAPSHOT.jar" ]

